﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.View
{
    /// <summary>
    /// VIEW
    /// </summary>
    [Table("View_GetDeliveryNotice")]
    public partial class View_GetDeliveryNotice
    {

        /// <summary>
        /// 主键
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 生成入库单的code
        /// </summary>
        public String QrCode { get; set; }

        /// <summary>
        /// 机构id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 二维码类型  1.通知入库 2.入库 3.发货通知单,4.备货单
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 预留状态:0-备货中；1-备货完成；2-部分完成3-下架中
        /// </summary>
        public Int32? ReserveState { get; set; }

        /// <summary>
        /// 预留数据层级 父级ID
        /// </summary>
        public String ReserveParent { get; set; }

        /// <summary>
        /// 外联表父ID(备注:入库单的parentId是收货单id)
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 入库通知单说明/备注说明
        /// </summary>
        public String Memo { get; set; }

        /// <summary>
        /// 预留数据类型
        /// </summary>
        public String ReserveStyleName { get; set; }

        /// <summary>
        /// 预留发货时间
        /// </summary>
        public DateTime? ReserveDeliveryTime { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public String CusID { get; set; }

        /// <summary>
        /// 客户地址
        /// </summary>
        public String CustomerAddress { get; set; }

        /// <summary>
        /// 预留审核 0未审核 1已审核 2审核失败3 下架中
        /// </summary>
        public Int32? CustomerToexamine { get; set; }

        /// <summary>
        /// 通知仓库ID
        /// </summary>
        public String StorId { get; set; }

        /// <summary>
        /// 部门名
        /// </summary>
        public String DeptIdName { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public String UserName { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public String Fu { get; set; }

        /// <summary>
        /// Nums
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// MealeName
        /// </summary>
        public String MealeName { get; set; }

    }
}